////////////////////////////////////////////////////////////////////////////////
// Copyright 2005 CORE Solutions Limited
// All rights reserved.
// PROPRIETARY AND CONFIDENTIAL INFORMATION.
// Use is subject to license terms.
//
// FUNCTION ID      :   TASK_ALERT
// AUTHOR           :   Victor.zheng 
// DATE CREATE      :   2005/10/25
// DESCRIPTION      :   a CRITERIA file for the function, TASK_ALERT
//                  :   
//                  :   
//                  :   
//
// MODIFICATION HISTORY:
// DATE         AUTHOR          VERSION NO.         COMMENT
// -----------  --------------  ------------------  -------------------
// 2005/10/25   Victor.zheng    1.0                 source is generated.
//
//
//
////////////////////////////////////////////////////////////////////////////////

package com.erp.app.login.taskAlert.criteria;

import com.erp.framework.model.criteria.SimplePageEditStyleSrchCriteria;

/**
* <p>A <strong>SrchCriteria</strong>
* getter and setter methods for all of the bean properties, and implements
* <code>Serializable</code>, as required by the JavaBean specification
* The main purpose for this bean is to store the user search criteria input
* for database query.
*
* @author          Victor.zheng 
* @version 1.0     2005/10/25
* @since           FrameWork 1.0
*
*/

// Note:
// Currently only generates the first 5 fields of a table
// However, this number can be set in GenConstants.NO_CRITERIA

public class TaskAlertSrchCriteria extends SimplePageEditStyleSrchCriteria {

	//Searching Criteria Attributes (DB Table Name: T_TASK_ALERT)
	private String srchCompanyCode;                  //DB Column Name: COMPANY_CODE
	private String srchStatus;                       //DB Column Name: STATUS
	private String srchUserGroupFr;                  //DB Column Name: USER_GROUP
	private String srchUserGroupTo;                  //DB Column Name: USER_GROUP
	private String srchTaskCodeFr;                   //DB Column Name: TASK_CODE
	private String srchTaskCodeTo;                   //DB Column Name: TASK_CODE
	private String srchTaskNameFr;                   //DB Column Name: TASK_NAME
	private String srchTaskNameTo;                   //DB Column Name: TASK_NAME
	private String srchTaskDescFr;                   //DB Column Name: TASK_DESC
	private String srchTaskDescTo;                   //DB Column Name: TASK_DESC
	private String srchPriorityFr;                   //DB Column Name: PRIORITY
	private String srchPriorityTo;                   //DB Column Name: PRIORITY

	/**
	* Converts to a string representing the data in this object.
	* A new <code>String</code> object is allocated and initialized to 
	* contain the character sequence currently represented by this 
	* object. This <code>String</code> is then returned. Subsequent 
	* changes to this object do not affect the contents of the 
	* <code>String</code>. 
	*
	* @return     a string representation of the object.
	* @see        java.lang.Object#toString()
	* @author     Victor.zheng 
	* @since      FrameWork 1.0
	*/
	public String toString() {
		String pkStr = "PK: {srchUserGroupFr = " + this.srchUserGroupFr
			+ "\n, srchUserGroupTo = " + this.srchUserGroupTo
			+ "\n, srchTaskCodeFr = " + this.srchTaskCodeFr
			+ "\n, srchTaskCodeTo = " + this.srchTaskCodeTo + "}\n";

		String colStr = "COL: {srchTaskNameFr = " + this.srchTaskNameFr
			+ "\n, srchTaskNameTo = " + this.srchTaskNameTo
			+ "\n, srchTaskDescFr = " + this.srchTaskDescFr
			+ "\n, srchTaskDescTo = " + this.srchTaskDescTo
			+ "\n, srchPriorityFr = " + this.srchPriorityFr
			+ "\n, srchPriorityTo = " + this.srchPriorityTo + "}\n";

		String mandatoryStr = "{srchCompanyCode = " + this.srchCompanyCode
			+ "\n, srchStatus = " + this.srchStatus
			+ "}\n";

		return "toString() is:\n" + mandatoryStr + pkStr + colStr;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Generated Accessors (get/set methods) for searching criterias
	////////////////////////////////////////////////////////////////////////////////

	public String getSrchCompanyCode() {
		return this.srchCompanyCode;
	}

	public String getSrchStatus() {
		return this.srchStatus;
	}

	public String getSrchUserGroupFr() {
		return this.srchUserGroupFr;
	}

	public String getSrchUserGroupTo() {
		return this.srchUserGroupTo;
	}

	public String getSrchTaskCodeFr() {
		return this.srchTaskCodeFr;
	}

	public String getSrchTaskCodeTo() {
		return this.srchTaskCodeTo;
	}

	public String getSrchTaskNameFr() {
		return this.srchTaskNameFr;
	}

	public String getSrchTaskNameTo() {
		return this.srchTaskNameTo;
	}

	public String getSrchTaskDescFr() {
		return this.srchTaskDescFr;
	}

	public String getSrchTaskDescTo() {
		return this.srchTaskDescTo;
	}

	public String getSrchPriorityFr() {
		return this.srchPriorityFr;
	}

	public String getSrchPriorityTo() {
		return this.srchPriorityTo;
	}

	public void setSrchCompanyCode(String srchCompanyCode) {
		this.srchCompanyCode = srchCompanyCode;
	}

	public void setSrchStatus(String srchStatus) {
		this.srchStatus = srchStatus;
	}

	public void setSrchUserGroupFr(String srchUserGroupFr) {
		this.srchUserGroupFr = srchUserGroupFr;
	}

	public void setSrchUserGroupTo(String srchUserGroupTo) {
		this.srchUserGroupTo = srchUserGroupTo;
	}

	public void setSrchTaskCodeFr(String srchTaskCodeFr) {
		this.srchTaskCodeFr = srchTaskCodeFr;
	}

	public void setSrchTaskCodeTo(String srchTaskCodeTo) {
		this.srchTaskCodeTo = srchTaskCodeTo;
	}

	public void setSrchTaskNameFr(String srchTaskNameFr) {
		this.srchTaskNameFr = srchTaskNameFr;
	}

	public void setSrchTaskNameTo(String srchTaskNameTo) {
		this.srchTaskNameTo = srchTaskNameTo;
	}

	public void setSrchTaskDescFr(String srchTaskDescFr) {
		this.srchTaskDescFr = srchTaskDescFr;
	}

	public void setSrchTaskDescTo(String srchTaskDescTo) {
		this.srchTaskDescTo = srchTaskDescTo;
	}

	public void setSrchPriorityFr(String srchPriorityFr) {
		this.srchPriorityFr = srchPriorityFr;
	}

	public void setSrchPriorityTo(String srchPriorityTo) {
		this.srchPriorityTo = srchPriorityTo;
	}

}
